package com.zhuss.product.db.dao.ext;

import com.zhuss.product.db.entity.LineSite;
import com.zhuss.bean.bo.product.line.SearchLineSiteBo;
import com.zhuss.bean.vo.product.line.ListLineSiteVo;
import com.zhuss.bean.vo.product.line.DetailLineSiteVo;
import java.util.List;
import org.apache.ibatis.annotations.*;
import com.zhuss.product.db.dao.gen.*;

/**
 * @description: 线路站点数据库Dao
 * @author: zhushanshuo
 * @create: Wed Dec 30 13:29:50 CST 2020
 **/

@Mapper
public interface LineSiteDao extends LineSiteMapper {

	void create(LineSite record);

	void delete(LineSite record);

	List<LineSite> listAll();

	List<LineSite> listById(@Param("lineSiteIdList") List<Long> lineSiteIdList);

	List<ListLineSiteVo> listByLineId(@Param("lineId") Long lineId);

	List<LineSite> listByName(@Param("name") String name);

	List<ListLineSiteVo> list(SearchLineSiteBo bo);

	Integer countList(SearchLineSiteBo bo);

	DetailLineSiteVo detail(@Param("lineSiteId") Long lineSiteId);

	void deleteByLineId(LineSite record);

	List<ListLineSiteVo> listBySiteId(@Param("siteId") Long siteId);



}
